package com.lambo.maven.core.utils.superHttp.core;

import java.util.Map;

import org.apache.http.HttpEntity;

import com.lambo.maven.core.utils.superHttp.SHttp;
import com.lambo.maven.core.utils.superHttp.entity.HttpResult;

/**
 * 唯一请求入口
 * SHttpCore
 */
public interface SHttpCore {

    public HttpResult corePost(SHttp shttp, String url, 
        HttpEntity entity, 
        Map<String, String> header, 
        String encoding);

    public HttpResult coreGet(SHttp shttp, String url, 
        String content, 
        Map<String, String> header, 
        String encoding);

}